package com.heatup.apt.api.service.impl;

import java.util.List;
import java.util.Map;

import com.heatup.apt.api.service.UserAccountRechargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.baomidou.mybatisplus.plugins.Page;
import com.heatup.apt.common.dao.user.UserAccountRechargeMapper;
import com.heatup.apt.model.user.UserAccountRecharge;

@Service
public class UserAccountRechargeServiceImpl extends  SuperServiceImpl<UserAccountRechargeMapper,UserAccountRecharge> implements UserAccountRechargeService {
	
	@Autowired
	private UserAccountRechargeMapper userAccountRechargeMapper;
	
	/**
	 * 充值记录分页查询
	 */
	@Override
	public Page<UserAccountRecharge> queryUserAccountConsumePage(Page<UserAccountRecharge> userAccountRechargePage,
			Map<String, Object> paramsMap) {
		List<UserAccountRecharge> list = userAccountRechargeMapper.queryUserAccountRechargePage(userAccountRechargePage, paramsMap);
		userAccountRechargePage.setRecords(list);
		return userAccountRechargePage;
	}

}
